@extends('Admin.layout.layout')
@section('title')
<title>lamp178官网 -友情添加</title>
@endsection
@section('con')
	<div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">友情添加</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
          @if (count($errors) >0)
          <div class="alert alert-danger">
          	<ul>
          		@foreach($errors->all() as $error)
          		<li>{{ $error }}</li>
          		@endforeach
          	</ul>
          </div>
          @endif
          <form action="{{url('/admin/youqing/insert')}}" method="post" class="form-horizontal" enctype="multipart/form-data">
		
			<div class="form-group">
			    <label for="inputPassword3" class="col-sm-2 control-label">标题</label>
			    <div class="col-xs-4">
			     <input type="text" name="title"  class="form-control" value="{{old('username')}}" >
			     
			    </div>
			    <span></span>
			  </div>
			<div>
               <label class="col-sm-2 control-label">logo&nbsp;&nbsp;</label>
                 <input type="file" name="logo">
                       </div>
			   <div class="form-group" style="margin-top:15px;">
			    <label for="inputEmail3" class="col-sm-2 control-label">地址：</label>
			   <div class="col-xs-4">
			      <input type="text" name="dizhi" class="form-control" value="{{old('email')}}">
			     
			    </div>
			     <span></span>
			  </div>
			
			  
			  {{csrf_field()}}
			  <input type="hidden" name="id" value="{$users->id}">
			<div class="col-md-4 col-md-offset-1" style="top:15px">
			
			<button type="submit" class="btn btn-primary btn-lg">提交</button>
			<button type="reset" class="btn btn-danger btn-lg">重置</button>
			
			</div>
	</form>
@endsection